
import request from '@/utils/request'

// 积分

// 积分页面

export function getScoreList(params) {
    return request({
        url: '/scores/buy/list',
        method: 'get',
        params
    })
}
export function getMemberScoreList(params) {
    return request({
        url: '/member/buy/integra/detail',
        method: 'get',
        params
    })
}
export function getScoreDetailsList(params) {
    return request({
        url: '/scores/buy/scoreDetails',
        method: 'get',
        params
    })
}
export function getBuyScoreDetailsList(params) {
    return request({
        url: '/scores/buy/scoreDetails',
        method: 'get',
        params
    })
}


//赠送积分
export function createScore(data) {
    return request({
        url: '/scores/buy/create',
        method: 'post',
        data
    })
}


//赠送积分
export function createJundaScore(data) {
    return request({
        url: '/junda',
        method: 'post',
        data
    })
}
